/// id : "1739205366750593089"
/// isDel : 0
/// createBy : null
/// updateBy : null
/// createTime : 1703493846
/// updateTime : 1703493846
/// type : "1"
/// teamId : "1739205363306438676"
/// name : null
/// sysType : "JCZL"
/// workTypeCode : null
/// areaLsgx : null
/// teamName : "教场巷小区"
/// teamHeadImg : null
/// receiveDate : null
/// recordContent : null
/// belongTeamId : "1739205363306438676"
/// chatRecord : null
/// teamTypeCode : "xiaoqu"
/// attributionCode : "team"
/// attributionTargetId : "1739205363306438676"

class ChatRoomInfoDto {
  ChatRoomInfoDto({
      String? id, 
      num? isDel, 
      dynamic createBy, 
      dynamic updateBy, 
      num? createTime, 
      num? updateTime, 
      String? type, 
      String? teamId, 
      dynamic name, 
      String? sysType, 
      dynamic workTypeCode, 
      dynamic areaLsgx, 
      String? teamName, 
      dynamic teamHeadImg, 
      dynamic receiveDate, 
      dynamic recordContent, 
      String? belongTeamId, 
      dynamic chatRecord, 
      String? teamTypeCode, 
      String? attributionCode, 
      String? attributionTargetId,}){
    _id = id;
    _isDel = isDel;
    _createBy = createBy;
    _updateBy = updateBy;
    _createTime = createTime;
    _updateTime = updateTime;
    _type = type;
    _teamId = teamId;
    _name = name;
    _sysType = sysType;
    _workTypeCode = workTypeCode;
    _areaLsgx = areaLsgx;
    _teamName = teamName;
    _teamHeadImg = teamHeadImg;
    _receiveDate = receiveDate;
    _recordContent = recordContent;
    _belongTeamId = belongTeamId;
    _chatRecord = chatRecord;
    _teamTypeCode = teamTypeCode;
    _attributionCode = attributionCode;
    _attributionTargetId = attributionTargetId;
}

  ChatRoomInfoDto.fromJson(dynamic json) {
    _id = json['id'];
    _isDel = json['isDel'];
    _createBy = json['createBy'];
    _updateBy = json['updateBy'];
    _createTime = json['createTime'];
    _updateTime = json['updateTime'];
    _type = json['type'];
    _teamId = json['teamId'];
    _name = json['name'];
    _sysType = json['sysType'];
    _workTypeCode = json['workTypeCode'];
    _areaLsgx = json['areaLsgx'];
    _teamName = json['teamName'];
    _teamHeadImg = json['teamHeadImg'];
    _receiveDate = json['receiveDate'];
    _recordContent = json['recordContent'];
    _belongTeamId = json['belongTeamId'];
    _chatRecord = json['chatRecord'];
    _teamTypeCode = json['teamTypeCode'];
    _attributionCode = json['attributionCode'];
    _attributionTargetId = json['attributionTargetId'];
  }
  String? _id;
  num? _isDel;
  dynamic _createBy;
  dynamic _updateBy;
  num? _createTime;
  num? _updateTime;
  String? _type;
  String? _teamId;
  dynamic _name;
  String? _sysType;
  dynamic _workTypeCode;
  dynamic _areaLsgx;
  String? _teamName;
  dynamic _teamHeadImg;
  dynamic _receiveDate;
  dynamic _recordContent;
  String? _belongTeamId;
  dynamic _chatRecord;
  String? _teamTypeCode;
  String? _attributionCode;
  String? _attributionTargetId;
ChatRoomInfoDto copyWith({  String? id,
  num? isDel,
  dynamic createBy,
  dynamic updateBy,
  num? createTime,
  num? updateTime,
  String? type,
  String? teamId,
  dynamic name,
  String? sysType,
  dynamic workTypeCode,
  dynamic areaLsgx,
  String? teamName,
  dynamic teamHeadImg,
  dynamic receiveDate,
  dynamic recordContent,
  String? belongTeamId,
  dynamic chatRecord,
  String? teamTypeCode,
  String? attributionCode,
  String? attributionTargetId,
}) => ChatRoomInfoDto(  id: id ?? _id,
  isDel: isDel ?? _isDel,
  createBy: createBy ?? _createBy,
  updateBy: updateBy ?? _updateBy,
  createTime: createTime ?? _createTime,
  updateTime: updateTime ?? _updateTime,
  type: type ?? _type,
  teamId: teamId ?? _teamId,
  name: name ?? _name,
  sysType: sysType ?? _sysType,
  workTypeCode: workTypeCode ?? _workTypeCode,
  areaLsgx: areaLsgx ?? _areaLsgx,
  teamName: teamName ?? _teamName,
  teamHeadImg: teamHeadImg ?? _teamHeadImg,
  receiveDate: receiveDate ?? _receiveDate,
  recordContent: recordContent ?? _recordContent,
  belongTeamId: belongTeamId ?? _belongTeamId,
  chatRecord: chatRecord ?? _chatRecord,
  teamTypeCode: teamTypeCode ?? _teamTypeCode,
  attributionCode: attributionCode ?? _attributionCode,
  attributionTargetId: attributionTargetId ?? _attributionTargetId,
);
  String? get id => _id;
  num? get isDel => _isDel;
  dynamic get createBy => _createBy;
  dynamic get updateBy => _updateBy;
  num? get createTime => _createTime;
  num? get updateTime => _updateTime;
  String? get type => _type;
  String? get teamId => _teamId;
  dynamic get name => _name;
  String? get sysType => _sysType;
  dynamic get workTypeCode => _workTypeCode;
  dynamic get areaLsgx => _areaLsgx;
  String? get teamName => _teamName;
  dynamic get teamHeadImg => _teamHeadImg;
  dynamic get receiveDate => _receiveDate;
  dynamic get recordContent => _recordContent;
  String? get belongTeamId => _belongTeamId;
  dynamic get chatRecord => _chatRecord;
  String? get teamTypeCode => _teamTypeCode;
  String? get attributionCode => _attributionCode;
  String? get attributionTargetId => _attributionTargetId;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['isDel'] = _isDel;
    map['createBy'] = _createBy;
    map['updateBy'] = _updateBy;
    map['createTime'] = _createTime;
    map['updateTime'] = _updateTime;
    map['type'] = _type;
    map['teamId'] = _teamId;
    map['name'] = _name;
    map['sysType'] = _sysType;
    map['workTypeCode'] = _workTypeCode;
    map['areaLsgx'] = _areaLsgx;
    map['teamName'] = _teamName;
    map['teamHeadImg'] = _teamHeadImg;
    map['receiveDate'] = _receiveDate;
    map['recordContent'] = _recordContent;
    map['belongTeamId'] = _belongTeamId;
    map['chatRecord'] = _chatRecord;
    map['teamTypeCode'] = _teamTypeCode;
    map['attributionCode'] = _attributionCode;
    map['attributionTargetId'] = _attributionTargetId;
    return map;
  }

}